package com.oracle.shiro;

import javax.servlet.http.HttpServletRequest;
import java.io.Serializable;

public class Principal implements Serializable{
	private Integer id;
	private String loginName;
	private String roleName;
	private HttpServletRequest request;
	
	public Principal() {}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getLoginName() {
		return loginName;
	}

	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}

	public String getRoleName() {
		return roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}


	public Principal(Integer id, String loginName, String roleName) {
		this.id = id;
		this.loginName = loginName;
		this.roleName = roleName;
	}
}
